<?php
// +----------------------------------------------------------------------
// | WoShiMaiJia Projcet
// +----------------------------------------------------------------------
// | Copyright (c) 2010 http://www.woshimaijia.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: xinqiyang <517577550@qq.com>
// +----------------------------------------------------------------------
/**
 * 测试模型
 * @author xinqiyang
 * @date   2010-5-31
 *
 */
class TestAction extends AppBaseAction {

	function index()
	{
		header('Content-Type:text/html;charset=utf-8');

		
		

	}
	
	function showpost()
	{
		dump($_POST);
		dump($_POST['locationid']);
	}

	function upp()
	{
		dump($_FILES['upfile']['tmp_name']);
		$rel = $this->upload('Group',true,200,200);
		dump($rel);
	}
	
	function test()
	{
		$d = D('tags');
		dump($d->getTags('人人'));
		dump($d->getLastSQL());
	}
}


?>